package com.hfkh;

/**
 * @Author MDD
 * @Description
 * @Version
 * @Date
 **/
public class No_1 {
    public static void main(String[] args) {

        double  sum=10000;
        for (int i =1;i<=5;i++){
            sum=sum*(1+0.003);
            System .out.println(i+"年后，获得的本金是："+sum); ;
        }

    }
}
